<template>
  <div class="PersonSimpleResume">
    <!-- 头部 -->
    <nav-bar :title="'信息提交成功'"></nav-bar>
    <br/>
    <!-- 内容区域 -->
    <el-form>
      <div class="my-form">
					<div style="text-align:center">
						<img style="margin: auto;" src="../../assets/qr.jpg">
						<div style="margin-top: 20px;font-size: 20px;">
              <strong>找靠谱好工作，就来黄河人才</strong>
              <br/>
              大型国央企事业单位求职资讯平台
              <br/>
              <br/>
            </div>
					</div>
				</div>
    </el-form>
    <!-- 底部 -->
    <!--        <Footer/>-->
  </div>
</template>

<script>
import { baseData, fillInInfoAdd, getFillInInfoList } from "@/api/api";
import navBar from "@/components/navBar.vue";
import store from '@/store'

// 校验手机号
const validateMobile = (rule, value, callback) => {
  if (!/^1[3-9]\d{9}$/.test(value)) {
    callback(new Error("请输入正确的手机号"));
  } else {
    callback();
  }
};
export default {
  //组件注入
  components: { navBar },
  //存放数据
  data() {
    return {
      // 手写简历
      dataList: {
        username: "", //姓名
        sex: "", //性别
        birthDay: "", //出生日期
        birthPlace: "", //籍贯
        eduLevel: "", //最高学历
        degreeLevel: "", //最高学位
        schoolName: "", //毕业院校
        major: "", //专业
        endEduTime: "", //毕业时间
        address: "", //通讯地址
        phone: "", //电话
        workExperience: "", //学习及工作经历
        scientificPayoffs: "", //科研成果
        intendedPost: "", //意向岗位
      },
      checkResult: "", //简历情况
      areaList: [], //省市区
      // 验证规则
      rulesadd: {
        username: [{ required: true, message: "请填写姓名" }],
        sex: [{ required: true, message: "请选择性别" }],
        birthDay: [{ required: true, message: "请选择出生日期" }],
        birthPlace: [{ required: true, message: "请选择籍贯" }],
        phone: [{ required: true, validator: validateMobile }],
        schoolName: [{ required: true, message: "请填写毕业院校" }],
        eduLevel: [{ required: true, message: "请填写最高学历" }],
        degreeLevel: [{ required: true, message: "请填写最高学位" }],
      },
    };
  },
  //接受父组件传递的值
  props: [],
  //监控data中的数据变化
  watch: {},
  //定义timeDefault计算属性：
  computed: {
    timeDefault() {
      var date = new Date();
      var s1 =
        date.getFullYear() -
        23 +
        "-" +
        (date.getMonth() + 1) +
        "-" +
        (date.getDate() - 1);
      return s1;
    },
  },
  //方法集合
  methods: {
  },
  //生命周期 - 创建完成（可以访问当前this实例）
  async created() {
  },
  //生命周期 - 挂载完成（可以访问DOM元素）
  mounted() {
  
  },
};
</script>

<style lang="scss">
@mixin text-ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@mixin text-ellipsisclamp($clamp) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: $clamp;
  overflow: hidden;
}

@mixin transition {
  transition: all 0.3s;
}

.my-form {
  text-align: center;
  font-size: large;
}
